package com.travelgroup.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ItineraryDTO {
    @Schema(description = "关联拼团id")
    private Long groupId;

    @Schema(description = "行程标题")
    private String title;

    @Schema(description = "行程总体描述")
    private String description;

    @Schema(description = "基于的路线模板")
    private Long basedOnRoute;

    @Schema(description = "每日行程信息")
    @TableField(exist = false)
    private List<ScheduleDTO> schedules;

    @Schema(description = "行程开始日期")
    private Date startDate;

    @Schema(description = "行程结束日期")
    private Date endDate;
}
